package com.hotel.service;

import com.hotel.pojo.Food;
import com.hotel.utils.PageBean;

import java.util.List;
import java.util.Map;

/**
 * Created by LinYaTing on 2018/11/25 22:27
 */
public interface FoodService {


    List<Map<String, Object>> findAll();

    List<Map<String, Object>> findFoodByKeyWord(String keyWord);

    Map<String, Object> findFoodById(int id);

    void save(Food food);

    void update(Food food);

    void delete(int id);

    void getAll(PageBean<Food> pb);
}
